package org.numb.springbootzookeeper;

import org.numb.springbootzookeeper.config.ZkConfiguration;
import org.numb.springbootzookeeper.prop.ZkProp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringBootZookeeperApp {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SpringBootZookeeperApp.class, args);
        ZkProp bean = run.getBean(ZkProp.class);
        run.getBeanNamesForType(ZkProp.class);
    }
}
